package com.terra;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class TCOverlayItem extends OverlayItem {

	String Link = "";
	String id = "";
	String desc = "";
	String type = "";
	String Latitude = "";
	String Longitude = "";
	String Style = "";
	Integer Size = 0;
	Integer Points = 0;
	Double Score = 0.;
	Integer PhysicalChallenge = 0;
	Integer MentalChallenge = 0;
	Integer CammoChallenge = 0;
	String Description = "";
	String Hint = "";
	Integer CacheSiteIndex = 0;
	
	public TCOverlayItem(GeoPoint point, String title, String snippet) {
		super(point, title, snippet);
		// TODO Auto-generated constructor stub
	}
	
	public String getPosition() {
	return Latitude + "/" + Longitude;
	}
	
	public double getLatitude() {
		return Double.valueOf(Latitude);
	}
	
	public double getLongitude() {
		return Double.valueOf(this.Longitude);
	}
	
	public String getName() {	
		return id;
	}
	
	public String getLink() {
		return Link;
	}
	
	public String getDesc() {
		return desc;
	}
	
	public String getStyle() {
		return Style;
	}
	
	public void setPosition(String lat, String lon) {
		Latitude = lat;
		Longitude = lon;
	}
	
	public void setID(String name) {
		id = name;
	}
	
	public void setDesc(String descIn) {
		desc = descIn;
	}
	
	public void setType(String typeIn) {
		type = typeIn;
	}
	public void setLink(String linkIn) {
		Link = linkIn;
	}
	
	public void setStyle(String styleIn) {
		Style = styleIn;
	}
	
	public void setPoints(Integer pointsIn) {
		Points = pointsIn;
	}
	
	public void setScore(Double scoreIn) {
		Score = scoreIn;
	}
	
	public void setPhysicalChallenge(Integer challengeIn) {
		PhysicalChallenge = challengeIn;
	}
	
	public void setMentalChallenge(Integer challengeIn) {
		MentalChallenge = challengeIn;
	}
	
	public void setCammoChallenge(Integer challengeIn) {
		CammoChallenge = challengeIn;
	}
	
	public void setCacheSite(Integer cacheSite) {
		CacheSiteIndex = cacheSite;
	}
	
	public void setDescription(String descriptionIn) {
		Description = descriptionIn;
	}
	
	public void setHint(String hintIn) {
		Hint = hintIn;
	}
}
